Memory Concerns

After using the results the caller must call am_policy_result_destroy() on policy_result to cleanup the allocated
memory. Also, am_map_destroy() must be called on policy_response_map_ptr and env_parameter_map after
their respective usage.