Clean up data formatting
Move data converter to it's own node module