returns list of dict when request header is "application/json"

@ralphbean Made changes so that  when request header is "application/json" It should return the message_card in JSON . It gives error because date stuffs is not serializable by the SimpleJson, yeah i will fix that later but for now it returns list of dicts. 
Also I have made fixtures according to pep8 guidelines.