PMR2 JSON core and api