Objective-C map from/unmap to JSON