Python floating point numbers are always represented with java double

This fixes the loss of precision for float values during the
serialization.
Merge pull request #53 from ecanzonieri/fix_java_double

Fix loss of precision during java serialization