# File lib/chef_zero/endpoints/actor_endpoint.rb, line 83
      def populate_defaults(request, response_json)
        response = FFI_Yajl::Parser.parse(response_json, :create_additions => false)
        if request.rest_path[2] == 'clients'
          response = ChefData::DataNormalizer.normalize_client(response,request.rest_path[3], request.rest_path[1])
        else
          response = ChefData::DataNormalizer.normalize_user(response, request.rest_path[3], identity_keys, server.options[:osc_compat], request.method)
        end
        FFI_Yajl::Encoder.encode(response, :pretty => true)
      end