separate PHP query, header and path param serialization and encoding
update php wordnik sample app