Removed 'rectangle' prefix when serializing to a JSON object.