Fixes in objfactory

- convert integers and floats to strings
- do not create elements for empty objects