Don't think String is the right return value here, it will probably result in a string type in the environment_variables attribute of Application (instead of a Hash properly encoded in JSON format).