cleaned up changes, made it so that code with scope serializing uses esisting methods in encodable.rb