Check null when converting request to/from json