json_encode + http_build_query