remove empty fields from json