implemented list_for_json