JSON to Objective-C conversion helper