toJSON added as alias to mutable

fixes #25