Added new /beacons.json GET and POST requests.