parse post body as json if _json param is not set