Normally we put these file-scope functions before the modules class, not after.  That should also remove the spurious warning about geoJsonObjectTypes being unread.