ENH: add functional (but pretty slow) json_normalize function for flattening nested records per #1067