Completed code to put JSON objects into lists of maps