SQL requests and Json formatting for symbols (clef, time signature, key signature, rest, note)