[WIP] Add type checking functions to JsonObject

Pretty much what it says on the tin. Need to add more I think, so the type can be pulled out of the JsonObject instead of needing to call is_<something>(member) multiple times.