fix geo data population

fix utility functions to work easier
fix rabbitmq consumer to generate geo_data when recieving a message
otherwise it will discard the message.