Started extending the JSON REST API for the new UI.