Fixed typo in serialization; added toHttp method
Setting version to 0.5.1