Added the ability to pass an argument to the serialize function to serialize a given object, and added tests for the raw function.
Started working on moving documentation from the code to the README