create html from JSON objects