defined JSON structure and got metadata mixed in