Change style of function declaration
Pull out function inside of notesToJSON
Chain the results instead of calling muliple times
Merge branch 'cleanup/utility'