formatting REST notes