auto wrapping objects into JSON for sends