Send json

pull from master (I hope)