Transform Objective-C literals into JSON.