Fixed a camelCase to camel_case conversion bug
Removed extraneous console.log calls