Call compact on decoder result array to remove nil values
Specs for sample decoder
Get the sample managamenent activity model using model_for