wrap json objects into data field