Return Canvas object as JsonRestult from server to client