Basic port of writers; jvalue writer tested a bit on the commandline