Did serialize by Doctine insted of inside AbstractEntityParams class