fixed bug when initializing QFloatElement from json

added init method with default float value 0.0