fix #5 - use lodhash defaults instead of merge
fix #2 - use lohash.to array
fix #4 - refactor coding structure