fixed location id to work with standalone
Merge pull request #2 from soddo/json

fixed location id to work with standalone