Moved JDoc serializer/deserializer to own classes