Add tests for Json serialization

Fix issues with Temperature serialization
promote to 0.2-SNAPSHOT