implemented inherited jsons not perfectly tested