Work around for JSON parsing logic in Objective C