simplifying json doc structure to locate error