handle empty object correctly. bump version to 1.0.0