Refactoring of properties parameter in render_to_geojson function