fix for multiple jsons and non-unique key