minor change to use named functions
modifies the format of the json object to store markers