Move @JsonProperty to getters and setters.

Closes #292.