added array resource from JSON for optional parameters, e.g. subject, content