Command-line tool to flatten/unflatten JSON files