dynamic styles set with json object