Convenience macro to construct json data structure.