Start putting in methods to serialize out metadata into JSON