Making the error pointer in core data stack methods optional
Adding JSON pattern to string method