add NSNumber and NSData serialisation
add nil
more tests
add many tests (missing a few for different bin, string, array and map sizes)