added JSON (de)serialization
defined Player resource