putting style in JSON object for easy access