Fixed crash when JSONifying null arrays
updated readme