Indent the json output; handled EOF gracefully; only include fields that exist within the original map when copying for the show command