fix for value serialization, removed unused template/method
0.5.2