Made note endpoint return more standard output for notes