read externalizable ObjectProxy
fix indentation