fix for parse_qs and json posts