Fix selling notes after server side change using json form encoding