only catch jsonsyntaxexceptions in fromjson methods