LAI-5 adding initial support for JSON REST input