updated m_date and error to be arrays of size one or two. this has not yet been validated with any real data. so, there will certainly be changes to come. i'm not sure if i've set up the json refs correctly