Allow passing of extra fields in response.

The user can now set an attribute called 'extra' with a list of model
properties that he/she would like to receive along with the JSON. These
properties can also be the result of model methods.