auto parsing of json content-type, thanks Niphlod