Implementing write chapter

you get the value to write it. but i think you actually want to get a string even for integer, float or dates. and for binaries you probably want the size so that this can be stored as metadata and the stream can be delayed.

but lets not try to fix this method but rather refactor the propsToXml into a propsToArray that can then be serialized to json/xml.