added convenience functions to NSJSONSerialization+Factory