Better JSON interface to Omms