made json single-level