Added legacy code to pre 1552 branch, testing json payload on deploy server.