generate content from json