Implemented 'load' setup method, also added missing braces and switched escaping to JSON encoding.